package com.qianya.oa.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qianya.oa.common.annotation.Excel;
import com.qianya.oa.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 【 出差】对象 outside
 * 
 * @author qianya
 * @date 2023-05-30
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class Outside extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long sysUserid;


    @Excel(name = "用户名")
    private String sysUserName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long sysDeptid;

    /** 岗位 */
    @Excel(name = "岗位")
    private String job;

    /** 是否有工作计划 */
    @Excel(name = "是否有工作计划")
    private Integer planeFlag;

    /** 是否通过审批  */
    @Excel(name = "是否通过审批")
    private Integer agreeFlag;

    /** 预计出发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计出发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departureTime;

    /** 预计返回时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计返回时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returnTime;

    /** 出差性质 */
    @Excel(name = "出差性质")
    private String evectionType;

    /** 出发地 */
    @Excel(name = "出发地")
    private String departurePlace;

    /** 目的地 */
    @Excel(name = "目的地")
    private String destinationPlace;

    /** 出差计划 */
    @Excel(name = "出差计划")
    private String evectionProject;

    /** 出差目的 */
    @Excel(name = "出差目的")
    private String evectionTarget;

    /** 交通工具 */
    @Excel(name = "交通工具")
    private String transportation;

    /** 同行人员 */
    @Excel(name = "同行人员")
    private String togetherMan;

    /** 申请人 */
    @Excel(name = "申请人")
    private String fromMan;

    /** 部门主管 */
    @Excel(name = "部门主管")
    private String deptLeader;

    /** 财务审核 */
    @Excel(name = "财务审核")
    private String finance;

    /** 分管副总 */
    @Excel(name = "分管副总")
    private String secondLeader;

    /** 总经办审批 */
    @Excel(name = "总经办审批")
    private String firstLeader;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;
    private String leaderOne;
    private String leaderTwo;
}
